package ${model.packageName}.${model.modulePackage}.${model.modelL}.domain;
import java.util.Date;
import com.mgr.framework.web.domain.BaseEntity;
import com.mgr.framework.aspectj.lang.annotation.Excel;

#foreach ($field in $fieldList)
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "")
#if(${field.inputValueOne} == "sys_dept")
import ${model.packageName}.system.dept.domain.Dept;
#elseif(${field.inputValueOne} == "sys_user")
import ${model.packageName}.system.user.domain.User;
#else
import ${model.packageName}.${model.modulePackage}.${field.inputValueOneL}.domain.${field.inputValueOneU};
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")
import com.mgr.project.system.dict.domain.DictData;
#end
#end


/**
 * ${model.comment}表 ${model.tableName}
 * 
 * @author ${model.author}
 * @date ${date}
 */
public class ${model.model} extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
#foreach ($field in $fieldList)
#if(${field.field}!="createBy"&&${field.field}!="createTime"&&${field.field}!="updateBy"&&${field.field}!="updateTime"&&${field.field}!="remark")
	/** ${field.comment} */
#if(${field.inputType}=="date")
	@Excel(name = "${field.comment}",dateFormat = "yyyy-MM-dd")
#elseif(${field.inputType}=="datetime")
	@Excel(name = "${field.comment}",dateFormat = "yyyy-MM-dd HH:mm:ss")
#else
	@Excel(name = "${field.comment}")
#end
	private ${field.type} ${field.field};
#end
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "")
#if(${field.inputValueOne} == "sys_dept")
	@Excel(name = "部门名称", targetAttr = "deptName")
	private Dept ${field.inputValueOneL};
#else
	@Excel(name = "${field.comment}", targetAttr = "${field.inputValueTwoL}")
	private ${field.inputValueOneU} ${field.inputValueOneL};
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")	
	@Excel(name = "${field.comment}", readConverterExp = "0=字典值1,1=字典值2")
	private DictData sysDictData${velocityCount};
#end
#end
#foreach ($field in $fieldList)
#if(${field.field}!="createBy"&&${field.field}!="createTime"&&${field.field}!="updateBy"&&${field.field}!="updateTime"&&${field.field}!="remark")
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.fieldUp}(${field.type} ${field.field}) 
	{
		this.${field.field} = ${field.field};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public ${field.type} get${field.fieldUp}() 
	{
		return ${field.field};
	}
#end
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "") 
#if(${field.inputValueOne} == "sys_dept")
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.inputValueOneU}(Dept ${field.inputValueOneL}) 
	{
		this.${field.inputValueOneL} = ${field.inputValueOneL};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public Dept get${field.inputValueOneU}() 
	{
		return ${field.inputValueOneL};
	}
#elseif(${field.inputValueOne} == "sys_user")
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.inputValueOneU}(User ${field.inputValueOneL}) 
	{
		this.${field.inputValueOneL} = ${field.inputValueOneL};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public User get${field.inputValueOneU}() 
	{
		return ${field.inputValueOneL};
	}
#else
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.inputValueOneU}(${field.inputValueOneU} ${field.inputValueOneL}) 
	{
		this.${field.inputValueOneL} = ${field.inputValueOneL};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public ${field.inputValueOneU} get${field.inputValueOneU}() 
	{
		return ${field.inputValueOneL};
	}
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")
	/**
	 * 设置：${field.comment}
	 */
	public void setSysDictData${velocityCount}(DictData sysDictData${velocityCount}) 
	{
		this.sysDictData${velocityCount} = sysDictData${velocityCount};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public DictData getSysDictData${velocityCount}() 
	{
		return sysDictData${velocityCount};
	}
#end	
#end
}
